<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="table-responsive">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th class="text-center"><div class="table-first-id">ID</div></th>
            <th class="text-center" width="10%">申请提现老师</th>
            <th class="text-center" width="10%">申请提现金额</th>
            <th class="text-center" width="15%">申请类型</th>
            <th class="text-center" width="20%">申请时间</th>
            <th class="text-center" width="15%">状态</th>
            <th class="text-center" width="20%">操作</th>
        </tr>
        </thead>
    </table>
    <div class="J_V_tabContent table-xScrollWrap">
        <table class="table table-bordered table-hover table-xs-content">
            <tbody>
            <tr class="jqgfirstrow" role="row">
                <th class="text-center"><div class="table-first-id">&nbsp;</div></th>
                <th class="text-center" width="10%">&nbsp;</th>
                <th class="text-center" width="10%">&nbsp;</th>
                <th class="text-center" width="15%">&nbsp;</th>
                <th class="text-center" width="20%">&nbsp;</th>
                <th class="text-center" width="15%">&nbsp;</th>
                <th class="text-center" width="20%">&nbsp;</th>
            </tr>
            <tr th:if="${#lists.isEmpty(dataMap['list'])}">
                <td colspan="8" class="text-center">
                    <div class="noDataTipsBox">
                        <p><span class="c-4e fs16">亲，还没老师申请提现数据~~~</span></p>
                    </div>
                </td>
            </tr>
            <tr th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="cashRecord : ${dataMap['list']}">
                <td class="text-center">
                    <div class="table-first-id">
                        <input type="checkbox" th:text="${cashRecord['id']}" class="i-checks"/>
                    </div>
                </td>
                <td class="text-center" th:text="${cashRecord['teacher']!=null&&cashRecord['teacher']['teacherName']!=null?cashRecord['teacher']['teacherName']:'老师已被删除'}"></td>
                <td class="text-center">
                    <i class="fa fa-rmb"></i>
                    <th:block th:text="${cashRecord['price']}"></th:block>
                </td>
                <td class="text-center">
                    <th:block th:if="${cashRecord['recordType']}==1">问答分成</th:block>
                    <th:block th:if="${cashRecord['recordType']}==2">旁听分成</th:block>
                </td>
                <td class="text-center" th:text="${cashRecord['createTime']}"></td>
                <td class="text-center">
                    <th:block th:if="${cashRecord['status']}==1"><span class="label label-danger">未通过</span></th:block>
                    <th:block th:if="${cashRecord['status']}==2"><span class="label label-info">已通过</span></th:block>
                </td>
                <td class="text-center">
                    <a th:href="@{/admin/qa/teacher/cash/getTeacherCashRecordInfo?id={id}(id=${cashRecord['id']})}" data-original-title="查看" data-placement="bottom" data-toggle="tooltip" class="c-master fs14 ml5">
                        <i class="fa fa-eye"></i>
                    </a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <!-- 分页，开始 -->
    <div data-th-replace="layout/adminPage"></div>
    <!-- 分页，结束 -->
</div>
</html>